<template>
  <div class="video">
    <video v-model="this.$store.state.video_info" :src="this.$store.state.video_info.url"  controls="controls"></video>
  </div>
</template>

<script>
  export default {
    name: "Video",

    data(){
      return{
        video:""
      }
    },created() {
       this.video=this.$store.state.video_info
    }
  }
</script>

<style scoped>
  .video{
    width: 100%;
    margin: auto;
  }
  video{
    width: 100%;
  }
</style>
